﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en" th:replace="main/public:: #public-en">
</head>
<body>
<!--头部-->
<header class="publicHeader" th:replace="main/public::#public-header">
</header>
<!--时间-->
<section class="publicTime" th:replace="main/public :: #public-time">
</section>
<!--主体内容-->
<section class="publicMian " >
    <div class="left" th:replace="main/public :: #public-main">
    </div>
        </div>
        <div class="right">
            <div class="location">
                <strong>你现在所在的位置是:</strong>
                <span>密码修改页面</span>
            </div>
            <div class="providerAdd">
                <form id="pwdForm" th:action="@{/user/pwd}" action="#"  method="post">
                    <!--div的class 为error是验证错误，ok是验证成功-->
                    <div class="">
                        <label for="oldPassword">旧密码：</label>
                        <input type="password"  id="oldPassword" autofocus="autofocus" required/>
                        <span id="pwdText">*请输入原密码</span>
                    </div>
                    <div>
                        <label for="newPassword">新密码：</label>
                        <input type="password"  id="newPassword" required/>
                        <span id="newPwdText">*请输入新密码</span>
                    </div>
                    <div>
                        <label for="reNewPassword">确认新密码：</label>
                        <input type="password"  name="password" id="reNewPassword" required/>
                        <span id="reNewPwdText" >*请输入新确认密码，保证和新密码一致</span>
                    </div>
                    <div class="providerAddBtn">
                        <!--<a href="#">保存</a>-->
                        <input type="button" value="保存" id="save" onclick="$('#pwdForm').submit()"/>
                    </div>
                </form>
            </div>
        </div>
    </section>
<footer class="footer"><div style="text-align:center;"></div></footer>
<script src="../js/jquery.js"></script>
	<!--
	<script src="js/time.js"></script>
	-->
</body>
</html>